import { defineStore } from "pinia";
import store from "..";
export const useAppStore = defineStore({
  id: "appStore",
  state() {
    return {
      count: 0,
    };
  },
  actions: {
    addCount() {
      this.count++;
    },
  },
});

export default function useAppStoreOut() {
  return useAppStore(store);
}
